{% extends 'user/base_self_site.html' %}

{% block article_or_list %}
    <div class="article_list">
        {% for article in articles %}
            <div class="article_item">
                <h5><a href="/blogsystem/{{ article.user.username }}/articles/{{ article.pk }}">{{ article.title }}</a></h5>
                <div class="article-desc">
                    <span class="media-left">{{ article.desc }}</span>
                </div>
                <div class="small">
                    <span>发布于&nbsp;&nbsp;{{ article.create_time|date:"Y-m-d H:i" }}</span>&nbsp;&nbsp;&nbsp;
                    <span class="glyphicon glyphicon-comment"></span><span>评论数({{ article.comment_count }})</span>&nbsp;&nbsp;&nbsp;
                    <span class="glyphicon glyphicon-thumbs-up"></span><span>点赞数({{ article.up_count }})</span>&nbsp;&nbsp;&nbsp;
                </div>
            </div>
            <hr>
        {% endfor %}

    </div>
{% endblock %}
